package com.gk.panda.apis.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.HashMap;
import java.util.List;

@Data
@ApiModel("角色添加/修改实体")
public class RoleDto {

    @ApiModelProperty(value = "角色id")
    private Integer id;

    @ApiModelProperty(value = "角色名称")
    private String name;

    @ApiModelProperty(value = "角色类型")
    private int type;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "权限")
    private List<HashMap<String,Object>> permission;
}
